package com.david.equipment.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TacticsNowTaskVO implements Serializable {

    private LocalDate date;
    private String type;
    private List<completedTask> completedTaskList;
    private List<uncompletedTask> uncompletedTaskList;

    @Data
    @Builder
    public static class completedTask {
        private Integer deviceId;
        private String deviceName;
    }

    @Builder
    @Data
    public static class uncompletedTask {
        private Integer id;
        private Integer deviceId;
        private Integer taskId;
        private String deviceName;
    }
}
